
// SignalSlotTestDlg.h : header file
//

#pragma once

#include "../concise-ui/base/SignalTarget.h"
#include "../concise-ui/base/SyncSlot.h"

// CSignalSlotTestDlg dialog
class CSignalSlotTestDlg : public CDialogEx, public base::SignalTarget
{
// Construction
public:
	CSignalSlotTestDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_SIGNALSLOTTEST_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support

	void Test();

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();

	base::Signal0 signal0_;
	base::CallBack0 callback0_;
};
